<%@ page title="" language="C#" masterpagefile="~/EmpSite.master" autoeventwireup="true" inherits="Emp_LeaveApplication, App_Web_irvafolg" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .green-colour
        {
            background-color: #8dc234;
            font-family: Tahoma;
            font-size: 17px;
            padding-left: 4px;
            color: #ffffff;
            margin: 2px;
            text-decoration: none;
            font-weight: bold;
        }
        .user
        {
            font-family: Tahoma;
            font-size: 12px;
            color: #124c56;
            margin: 4px;
            text-decoration: none;
        }
        .button1
        {
            font-style: italic;
        }
        .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
                       .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
#MainContent_lblQuarter
{
    margin-left: 10px;
    position: relative;
    top: -2px;
}
#MainContent_lblHalfDay
{
        margin-left: 10px;
    position: relative;
    top: -2px;
}
#MainContent_lblThreeFourth
{
          margin-left: 10px;
    position: relative;
    top: -2px;
}
#MainContent_lblFullDay
{
              margin-left: 10px;
    position: relative;
    top: -2px;
}
.card-body span
{
    font-size:13px;
    font-weight:600;
}
.breadcrumb span
{
    font-size:16px;   
}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:Panel ID="Panel1" runat="server">
    </asp:Panel>
    <%--<asp:Label ID="lblmsg" runat="server" Font-Bold="True" Font-Size="13pt" 
        ForeColor="#0099CC" Text="Employee  List"></asp:Label>--%>
    <div class="main-panel">
        <div class="content">
        <div class="container" id="empleaveapplication" runat="server">
    <div class="row dash-pane2">

    <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"> <i class="fa fa-list fa-fw"></i>
                        <asp:Label ID="lblLeaveApplication" runat="server" Text="Leave Application"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive">
                 <div class="row">
                    <div class="col-lg-4">
                            <asp:Label ID="Label22" runat="server" Text="Employee Code"></asp:Label>
                            <asp:Label ID="Label35" runat="server" ForeColor="#FF3300" Text="*"></asp:Label>
                            <asp:TextBox ID="txtpaycode" runat="server" class="form-control" OnTextChanged="txtpaycode_TextChanged"
                                AutoPostBack="True" onKeyPress="return numberOnlyExample();"></asp:TextBox>
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label21" runat="server" Text="Date From"></asp:Label>
                            <asp:Label ID="Label36" runat="server" Text="*"></asp:Label>
                            <asp:TextBox ID="txtfromdate" runat="server" class="form-control" OnTextChanged="txtfromdate_TextChanged"></asp:TextBox>
                            <cc1:CalendarExtender ID="cal1" runat="server" TargetControlID="txtfromdate" Format="dd/MM/yyyy" />
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label4" runat="server" Text="To From"></asp:Label>
                            <asp:Label ID="Label37" runat="server" ForeColor="#FF3300" Text="*"></asp:Label>
                            <asp:TextBox ID="txtdateto" runat="server" class="form-control"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" TargetControlID="txtdateto" />
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label12" runat="server" Text="Employee Name"></asp:Label>
                            <asp:TextBox ID="txtName" runat="server" class="form-control" OnTextChanged="txtName_TextChanged"></asp:TextBox>
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label13" runat="server" Text="Father/Husband Name" Width="220px"></asp:Label>
                            <asp:TextBox ID="txtfarther" runat="server" class="form-control"></asp:TextBox>
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label5" runat="server" Text="Cardno" Width="220px"></asp:Label>
                            <asp:TextBox ID="txtcardno" runat="server" class="form-control"></asp:TextBox>
                        </div>
                        <div class="col-lg-4">
                            <asp:TextBox ID="txtcompnay" runat="server" class="form-control" Visible="False"></asp:TextBox>
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label7" runat="server" Text="Card No" class="form-control" Visible="False"></asp:Label>
                        </div>
                        <div class="col-lg-4">
                            <asp:Label ID="Label8" runat="server" Text="Department" Width="220px" Visible="False"></asp:Label>
                            <asp:TextBox ID="txtdepartment" runat="server" Enabled="False" class="form-control"
                                Visible="False"></asp:TextBox>
                        </div>
                        <div class="col-lg-12" style="margin-top: 0px; margin-left:-15px;">
                            <ol class="breadcrumb">
                                <li><b>
                                    <asp:Label ID="lblLeaveDetails" runat="server" Text="Leave Details"></asp:Label></b></li></ol>
                        </div>
                        <div class="col-lg-4" style="margin-top:-15px">
                            <asp:Label ID="Label1" runat="server" Text="Leave Name " Width="89px"></asp:Label>
                            <asp:Label ID="Label38" runat="server" ForeColor="#FF3300" Text="*"></asp:Label>
                            <asp:DropDownList ID="cboleavename" runat="server" class="form-control">
                            </asp:DropDownList>
                        </div>
                        <div class="col-lg-4" style="margin-top:-15px">
                            <asp:Label ID="Label2" runat="server" Text="Reason"></asp:Label>
                            <asp:Label ID="Label39" runat="server" Text="*"></asp:Label>
                            <asp:TextBox ID="txtreason" runat="server" class="form-control"></asp:TextBox>
                        </div>
                 </div>
                 <div class="row breadcrumb">
                 <b>
                     <asp:Label ID="lblLeaveDuration" runat="server" Text="Leave Duration"></asp:Label></b>
                 </div>
                     <div class="row" style="margin-left:0px; margin-right:0px; margin-top:-20px;">
                <div class="table-responsive leave-duration" style="height:200px; overflow:scroll">
                   <asp:GridView ID="GridView1" runat="server" 
                                      class="table table-bordered table-hover table-striped">
      
    </asp:GridView>
    </div>
                </div>

                 <div class="row" style="margin-top:-15px">
                    <div class="col-lg-3">
                            <asp:RadioButton ID="cboquarter" runat="server" GroupName="ss" Text="" OnCheckedChanged="cboquarter_CheckedChanged" /><asp:Label
                                ID="lblQuarter" runat="server" Text="Quarter"></asp:Label>
                        </div>
                        <div class="col-lg-3">
                            <asp:RadioButton ID="cbohalfday" runat="server" GroupName="ss" Text="" OnCheckedChanged="cbohalfday_CheckedChanged" /><asp:Label
                                ID="lblHalfDay" runat="server" Text="Half Day"></asp:Label>
                        </div>
                        <div class="col-lg-3">
                            <asp:RadioButton ID="cbothreefourth" runat="server" GroupName="ss" Text="" /><asp:Label
                                ID="lblThreeFourth" runat="server" Text="Three Fourth"></asp:Label>
                        </div>
                        <div class="col-lg-3">
                            <asp:RadioButton ID="cbofullday" Checked="true" runat="server" GroupName="ss" Text=""
                                OnCheckedChanged="cbofullday_CheckedChanged" /><asp:Label ID="lblFullDay" runat="server"
                                    Text="Full Day"></asp:Label>
                        </div>
                 </div>
                 <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                             <asp:Button ID="cmdsave" runat="server" Text="Save" OnClick="cmdsave_Click" type="button"
                            class="btn btn-success " /><i class="fa fa-plus;"></i> <i class="fa fa-trash-o;">
                        </i><i class="fa fa-plus;"></i>&nbsp;&nbsp;
                        <asp:Button ID="cmdcancel" runat="server" Text="Cancel" class=" btn btn-danger" OnClick="cmdcancel_Click" /><i></i>
                 </div>
                </div>
              </div>
    
    </div></div></div></div>
</asp:Content>
